function [ factorTable ] = factorSAMPLE( stratsGroup )
%% FACTORSAMPLE Main of this function goes here, in the future for each factor generated, it doesn't need to be changed
% create a datagroup to save the factor value
factorTable=zeros(size(stratsGroup));

numOfStrats=size(stratsGroup,1);
periodLength=size(stratsGroup,2);

% tranverse each strategies
for i=1:numOfStrats
    stratsData=stratsGroup(i,:);
    factorTable(i,:)=calcSAMPLE(stratsData);
end



%% this goes with the factor main calculation method, change here
    function [factorValue]=calcSAMPLE(stratsData)
       factorValue=macd(stratsData) ;
    end

end

